#ifndef AABB_H
#define AABB_H

#include "common.h"
#include "vector3.h"

class AABB
{
public:
	AABB() : min(), max() {};

	AABB(const Vector3& min, const Vector3& max)
		: min(min), max(max) 
	{
		assert(min.x < max.x);
		assert(min.y < max.y);
		assert(min.z < max.z);
	};

	AABB(const AABB& a) : min(a.min), max(a.max) {};

	Vector3 min, max;
};

#endif
